<?php

if ( ! defined("IN_OP") )
{
    exit("You can't access this file directly...");
}
$user = new User();
$curruser = $user->getuser();
$conf = new Config();
$DATAEXPIRYDAY3 = $conf->Get("news_en");
if ( 0 < substr_count($DATAEXPIRYDAY3 , ";") )
{
    $moredoc = explode(";" , $DATAEXPIRYDAY3);
    $DATAEXPIRYDAY3 = "";
    $i = 0;
    while ( $i < count($moredoc) )
    {
        $DATAEXPIRYDAY3 .= $moredoc[$i]."<br>";
        ++ $i;
    }
}
$ui = new UI();
include( "member/news.php" );
echo "<div style='font-size:12pt; word-wrap: break-word; word-break: normal;'><b>".L_DEAR." ".$curruser['name']."</b><br><br>".L_THISLOGINDATE.date("Y-m-d H:i:s")."Az IP G".getIP()."<br><br>";
echo "<b>".L_OPERATION."</b><br><br>".L_OPERATIONMOTION."<br><br>";
echo "<b>注意事项：</b><br><br>".L_DATAEXPIRYDAY1."<br>".L_DATAEXPIRYDAY2."<br>".L_DATAEXPIRYDAY3."<br><br>";
echo "<b>系统公告：</b><pre>".$DATAEXPIRYDAY3."</pre><br></div>";
$newmsg = trim($conf->Get("news_th"));
$newmsg = str_replace("\r\n" , "" , $newmsg);
echo "<script>alert('{$newmsg}')</script>";